import { openBuildService } from '../../helper/service'

const settings = {
    //选择框数据
    getPostList: {
        url: '/adminc/v2/o_job_template_group_v2/get_job_template_group_list',
        method: 'get'
    },
    //左边树
    getPostTree: {
        url: '/adminc/v2/o_job_template_v2/get_job_template_list',
        method: 'get'
    },
    //岗位模板详情,右边列表
    getPostDetail: {
        url: '/adminc/v2/o_job_template_v2/get_job_template_info',
        method: 'get'
    },
    //岗位模板新增
    addPostTemplate: {
        url: '/adminc/v2/o_job_template_v2/save_job_template',
        method: 'post'
    },
    //岗位模板标签新增/修改
    amendPostTemplate: {
        url: '/adminc/v2/o_job_template_v2/save_job_template_tag',
        method: 'post'
    },
    //岗位模板删除
    deletePostTemplate: {
        url: '/adminc/v2/o_job_template_v2/del_job_template',
        method: 'get'
    },
}

export default openBuildService(settings)